﻿using System;

// Token: 0x020001BE RID: 446
public class CutAct_MemoryEnd : CutAction
{
	// Token: 0x06000B8E RID: 2958 RVA: 0x00043B14 File Offset: 0x00041D14
	public CutAct_MemoryEnd(CutScene cutScene) : base(cutScene, CUTACT.MEMORYEND)
	{
	}

	// Token: 0x06000B8F RID: 2959 RVA: 0x00043B2C File Offset: 0x00041D2C
	public CutAct_MemoryEnd(CutScene cutScene, float time) : base(cutScene, CUTACT.MEMORYEND, time)
	{
	}

	// Token: 0x06000B90 RID: 2960 RVA: 0x00043B44 File Offset: 0x00041D44
	public override object Clone()
	{
		return new CutAct_MemoryEnd(this.cutScene);
	}

	// Token: 0x06000B91 RID: 2961 RVA: 0x00043B54 File Offset: 0x00041D54
	public override void Load(TagText.Element element, int order)
	{
		this.fadeTime = -1f;
		base.Load(element, order);
	}

	// Token: 0x06000B92 RID: 2962 RVA: 0x00043B6C File Offset: 0x00041D6C
	public override void Save(TagText.Element element)
	{
		base.Save(element);
	}

	// Token: 0x06000B93 RID: 2963 RVA: 0x00043B78 File Offset: 0x00041D78
	public override void Action(bool skip)
	{
		if (GlobalData.isMemory)
		{
			this.cutScene.NextScene("SelectScene", "MemoryEnd", -1f);
		}
	}

	// Token: 0x04000BCA RID: 3018
	public float fadeTime = -1f;
}
